package com.jindy.module.transferMachine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 库存调拨机器记录对象 sy_transfer_machine_t
 * 
 * @author jindy
 * @date 2023-04-13
 */
public class SyTransferMachineT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 调拨单id */
    @Excel(name = "调拨单id")
    private Long transferId;

    /** 调拨编码 */
    @Excel(name = "调拨编码")
    private String transferNo;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 机器编号 */
    @Excel(name = "机器编号")
    private String machineNo;

    /** 机器序列号 */
    @Excel(name = "机器序列号")
    private String machineSerialNumber;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 调拨属性（1调拨出库，2调拨入库） */
    @Excel(name = "调拨属性", readConverterExp = "1=调拨出库，2调拨入库")
    private String transferProperty;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTransferId(Long transferId) 
    {
        this.transferId = transferId;
    }

    public Long getTransferId() 
    {
        return transferId;
    }
    public void setTransferNo(String transferNo) 
    {
        this.transferNo = transferNo;
    }

    public String getTransferNo() 
    {
        return transferNo;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setMachineNo(String machineNo) 
    {
        this.machineNo = machineNo;
    }

    public String getMachineNo() 
    {
        return machineNo;
    }
    public void setMachineSerialNumber(String machineSerialNumber) 
    {
        this.machineSerialNumber = machineSerialNumber;
    }

    public String getMachineSerialNumber() 
    {
        return machineSerialNumber;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setTransferProperty(String transferProperty) 
    {
        this.transferProperty = transferProperty;
    }

    public String getTransferProperty() 
    {
        return transferProperty;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("transferId", getTransferId())
            .append("transferNo", getTransferNo())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("model", getModel())
            .append("machineNo", getMachineNo())
            .append("machineSerialNumber", getMachineSerialNumber())
            .append("warehouseName", getWarehouseName())
            .append("transferProperty", getTransferProperty())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
